package com.czxy.demo11;

public class Test01 {

    public static void main(String[] args) {


        int a=0;
        for (int i = 1; i <=100 ; i++) {
            int g=i%10;
            int s=i/10%10;
            int b=i/100;
            if (g!=9 && s!=9 && b!=9){
                if (a==5){
                    a=0;
                    System.out.println();
                }
                System.out.print(i+" ");
                a++;
            }
        }
    }

}
